import CONSTANT from '@/common/constants.js';
import http from '@/common/http.js'
import TransferDom from 'vux/src/directives/transfer-dom/index'
import VueQr from 'vue-qr'

export default {
  name: 'ewm',
  directives: {
    TransferDom
  },
  components: {VueQr},
  data () {
    return {
      margin: 0,
      logoMargin: 5,
      logoCornerRadius: 4,
      dotScale: 1,
      logoSrc: '',
      text: 'https://www.baidu.com'
    }
  },
  mounted () {
    this.text = this.$route.query.cardNo
  },
  methods: {
    comeBack () {
      window.history.go(-1)
    }
  }
}
